/* 
 * File:   fileexception.h
 * Author: Luis Aguirre
 * Description: Define a general file exception
 *
 * Created on 24 de julio de 2013, 10:38 AM
 */

#ifndef FILEEXCEPTION_H
#define	FILEEXCEPTION_H

#include <exception>

class FileException : public std::exception
{
public:
    
    FileException()
    {
    }

    /**
     * Describe the general cause of the current error. 
     * 
     * @return String with the error.
     */
    virtual const char* what() const throw ()
    {
        return "File exception.";
    }
};


#endif	/* FILEEXCEPTION_H */

